﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;


namespace WebQuestionnaire.Core.DataInterfaces
{
    using WebQuestionnaire.Core.DTO;
    public interface IPermissionRepository : IRepository<Permission, Guid>
    {
        Permission GetPermission(string userName, Guid questionnaireId,int Type);
        List<Permission> GetAllPermistions(Guid questionnaireId, int Type);
    }
}
